-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote Store] Fix stats reporting for multistream downloads. #10402
[Remote Store] Fix stats reporting for multistream downloads. #10402
Conversation
Signed-off-by: Rishikesh1159 <[email protected]>
This PR fixes the stats reporting for multistream downloads. I have tested the working of fix by following testing: Testing: -> Without this PR fix (download stats are empty for replicas):
-> With this PR fix (download stats for replica are reported):
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/store/RemoteSegmentStoreDirectory.java
Show resolved
Hide resolved
Signed-off-by: Rishikesh1159 <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #10402 +/- ##
============================================
- Coverage 71.16% 71.15% -0.01%
- Complexity 58297 58375 +78
============================================
Files 4830 4843 +13
Lines 274903 275203 +300
Branches 40059 40068 +9
============================================
+ Hits 195637 195830 +193
- Misses 62882 62965 +83
- Partials 16384 16408 +24
|
* Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit a3f8432) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit a3f8432) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#10417) * Fix stats reporting for multistream downloads. * rename tracker to fileTransferTracker. --------- (cherry picked from commit a3f8432) Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#10424) * Fix stats reporting for multistream downloads. * rename tracker to fileTransferTracker. --------- (cherry picked from commit a3f8432) Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
…arch-project#10402) * Fix stats reporting for multistream downloads. Signed-off-by: Rishikesh1159 <[email protected]> * rename tracker to fileTransferTracker. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
This PR reports stats for multistream downloads. With addition of copyTo() in PR proper stats are no longer reported. This PR fixes the issue and reports proper stats.
Related Issues
Resolves #10283
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.